SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b40557d045cde864231dc86960f8c66ba4767b6e0195eea51158cfd69532598c' 
  AND token = 'BQYQ5k1TKiBjjN//1u3FhvyBhOGPc6fy7IASCyZ4QVQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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