SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '795c3121882255fd5888733e32a853d09d722b5078072723862e96662d8039b7' 
  AND token = 'SPNH5rzsdx8MzZiWBfuSn423s/mvXs4dsO2u8UG3Ue4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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