SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8c9a96016a4d0d7354befef9cbd48ab005d3577cd10f41c54644a747c7e07a0' 
  AND token = 'Y3YCw69ZwE41ClpRTARvc2u57CDuhgsvwYd7kPN7Elk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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