SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'efb89d7b2949ba580b1b388809d15d9e8354fcdab25d98a994363bd2b049daee' 
  AND token = '6rqqgc8d/VswQOWiHm5y+dhUJe3uMwwStxC30QQVcx4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

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