SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be1d5434d384c4dbd8254060644e0859ed11286f362e579158d472dd9f542351' 
  AND token = 'rlJCXfoRSqyV5VhZIl3eaN8ri/PZ4kdO9pt4bxYYoec=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}