SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f90441fb233731a37d0dc3a8d3d6e45fcd77e5b88ce5be55f91779ffca47d4e6' 
  AND token = 'pX9Q3LnlbUgfzwROq/RB7y3KgwuzVTGFmACD5d8wySQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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