SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31f5376ae7639ac689dea0c31cbf0b30ed523bdc8cdbb863446708ecad22b004' 
  AND token = 'OrZ4n9TdaoUiuHDl1j6BWqj78Ml7Khhq2st1fTalGU0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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