SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '087e3bbd0eabf21bcfdeaa1d78f561ed2a29afb3d77bc1a217af85846550e3ec' 
  AND token = 'g8GexyBg7X/CUUSd20ZI3E14NbCihp7OOJm6xG7JdZM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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