SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f6e85ac824a2f118043348c08b25da631e905d608b32c161ef03583f1bf4a49' 
  AND token = 'gfPtB6n1MCLpaEF+t4MZiXD3uQ5K/9S7JHFg59pKP9c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00062

JSON explain

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