SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27fc79606d7373601274ed041ed94e98095e90ef2dc6f343a9179afe1f8e1568' 
  AND token = '30CaNjdj6MEfdyW5Neu2QNqVP+GLI71k2i2cXLS1qIM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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