SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd9f1d861c6c1fc2a06e2cfe4421a870270cb20309702d6aa53c875c9aa2fd928' 
  AND token = 'iLKs4QM91D84g6+0HDXJ2LKjv50BeSaA6Q/gsHCzcIY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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