SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '164a4b40e7358a984218e6ab00769868bf49768473a570f4654ebba3074f4340' 
  AND token = '8WkCVlXvqyuxFhohmD74m3jaHkopwCmoF/6NsPY+T5w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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