SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a259b238f2209db54578505488681b41b089f67a91a9a33d09bad93963ad1c5' 
  AND token = 'nmfOJZSRZk+7ACLabngIrJD8aJlcjg23JXHI7hYxhyI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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