SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9160ec6815a6e101530fc509af3e069a1f46856b534402d339e4b21bccc13146' 
  AND token = 'WcjkKsKPAxDdgeYv8YUT4InI7nO/+ImgZDWL99G0SxI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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