SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7219c14360974ce9308854f2d6c60c08bdc8e4414297d110c5717b12cf0db3ef' 
  AND token = '9epjaqUka160Gjofrs1PQP7wVOsRgrt0ibRhEg1DCkM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}