SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3badcddc2d43ac0e1cb667e54e371a0cc34b7f1c90c0e291669f1c473f1e4a0d' 
  AND token = 'gHj446iPNtFljJag7tkuBijVO0QJ+DHk4CXwdwlykS4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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