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

Query time 0.00021

JSON explain

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