SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '248527e76cb770052a89f5b9295e46b7285d81dcdfab9da02e6f08d6540da538' 
  AND token = 'eMDBvqz9L+LDmuSbBPxAq2SSReA7lKgKOPFZWS/q20o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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