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

Query time 0.00024

JSON explain

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