SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aefc8cee3b74172c85d9661d401d2aebc856d6e49f7edea6206921d478b48508' 
  AND token = 'STGTmnwe2d5MJn4bK1OI+7Q3R6R5yXXW/KZsXq7L3Zg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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