SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '845d24ef94a4e6d8cba088be9f787dc2ae246a01cab649cc1dd5d981061b5e5d' 
  AND token = 'rY3r2tS3n+0dxBt8zF4OyCa1JZGL18gDgfkFT5Qvd4A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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