SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5018fca04c0002edf6e2af1a698a108b6aa44ab1faf388d6b66559aa4a1e097f' 
  AND token = 'e34AVvVWlq+4xgCGZYopQKLEu3id3JXTifu5Mx/J+Ag=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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