SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27514ea8ec8ecd7bd0a822729e086ac39ed59e01df6c44c5bb8d0f4891daf2d1' 
  AND token = 'aD11Sdq7aDBTAT9Yl8l6wt0l2bYUnN5ZH/9gcBo4oGA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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