SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f30686103f24f878d244386e8d8db595ebdd7c763c3e7a5bf696c2c94392b9e' 
  AND token = '8hCVCmPCZx9yCftORsRkbxwa9ub1U2f9wwAwuAo7QN0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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