SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9dc8518359453a00e15ad8ee45755ada3b6c2a83d25f29e6ba218490640690fe' 
  AND token = 'b28sCycI0ooGnHJX1azrCDVy6wBpn50/HBFfr5DRkis=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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