SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af30a922984bca404750bfdea589ae25fba08cf8c4ae8faf3ac868232aa0f970' 
  AND token = 'xOn2rA7/A45P7uB10jWqsVv1ekq52s20hQVlDcRAUP4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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